<?php
	class GoodscommentControl extends Control {
		public function commentck(){
			$_POST['ctime']=time();
			$goodscomment=new GoodscommentModel();
			$num=$goodscomment->insert($_POST);
			if($num==1){
				$this->jump($_SERVER['HTTP_REFERER']);
			}else{
				$this->error($_SERVER['HTTP_REFERER']);
			}
		}
	}
?>